Skip to content

feat: allow disabling ctrl-c handling#149

Merged
ccbrown merged 1 commit intomainfrom
render-loop-config
Nov 2, 2025
Merged

feat: allow disabling ctrl-c handling#149
ccbrown merged 1 commit intomainfrom
render-loop-config

Conversation

@ccbrown
Copy link
Owner

@ccbrown ccbrown commented Nov 2, 2025

What It Does

Allows users to disable iocraft's handling of ctrl-c via render_loop().ignore_ctrl_c().

Related Issues

@codecov
Copy link

codecov bot commented Nov 2, 2025

Codecov Report

❌ Patch coverage is 55.40541% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.98%. Comparing base (32bbd78) to head (91f6e4a).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
packages/iocraft/src/element.rs 56.66% 24 Missing and 2 partials ⚠️
packages/iocraft/src/terminal.rs 41.66% 6 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
+ Coverage   89.75%   89.98%   +0.23%     
==========================================
  Files          31       31              
  Lines        5171     5192      +21     
  Branches     5171     5192      +21     
==========================================
+ Hits         4641     4672      +31     
+ Misses        430      419      -11     
- Partials      100      101       +1     
Files with missing lines Coverage Δ
packages/iocraft/src/render.rs 96.34% <100.00%> (ø)
packages/iocraft/src/terminal.rs 68.43% <41.66%> (-0.72%) ⬇️
packages/iocraft/src/element.rs 78.64% <56.66%> (+9.00%) ⬆️

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ccbrown ccbrown merged commit b8c89fe into main Nov 2, 2025
5 checks passed
@ccbrown ccbrown deleted the render-loop-config branch November 2, 2025 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant